
<template>
  <div class="container">
    <!--顶部-->
    <HospitalTop/>
    <!--展示路由-->
    <div class="content">
      <router-view/>
    </div>
    <HospitalBottom/>
    <!--登陆组件-->
    <Login v-if="userStore.visiable"/>
  </div>
</template>
<script setup lang="ts">

import useUserStore from "@/store/modules/user.ts";

const userStore = useUserStore()
</script>

<style scoped lang="scss">
.container{
  display: flex;
  flex-direction: column;
  align-items: center;
  .content{
    margin-top: 70px;
    width: $total-width;
    height: auto;
  }
}

</style>
